﻿Imports System.Collections.ObjectModel

Namespace ViewModel
    Public Class UISettingsViewModel
        Inherits ViewModelBase

        Private _DataGrid As New UISettings.DataGridViewModel
        Public ReadOnly Property DataGrid() As UISettings.DataGridViewModel
            Get
                Return _DataGrid
            End Get
        End Property

        Private _SearchOptions As New UISettings.SearchOptionsViewModel
        Public ReadOnly Property SearchOptions() As UISettings.SearchOptionsViewModel
            Get
                Return _SearchOptions
            End Get
        End Property

        Private _BasicOptions As New UISettings.BasicOptions
        Public ReadOnly Property BasicOptions() As UISettings.BasicOptions
            Get
                Return _BasicOptions
            End Get
        End Property

        Private _BrowserOptions As New UISettings.BrowserOptionsViewModel
        Public ReadOnly Property BrowserOptions() As UISettings.BrowserOptionsViewModel
            Get
                Return _BrowserOptions
            End Get
        End Property

        Private _NGOptions As New UISettings.NGOptionsViewModel
        Public ReadOnly Property NGOptions() As UISettings.NGOptionsViewModel
            Get
                Return _NGOptions
            End Get
        End Property

        Private _SoundOptions As New UISettings.SoundOptionsViewModel
        Public ReadOnly Property SoundOptions() As UISettings.SoundOptionsViewModel
            Get
                Return _SoundOptions
            End Get
        End Property

        Private _DetailsOptions As New UISettings.DetailsOptionsViewModel
        Public ReadOnly Property DetailsOptions() As UISettings.DetailsOptionsViewModel
            Get
                Return _DetailsOptions
            End Get
        End Property

        ' MEMO not notify property changed
        Private _WindowRect As Rect
        Public Property WindowRect() As Rect
            Get
                Return _WindowRect
            End Get
            Set(ByVal value As Rect)
                _WindowRect = value
            End Set
        End Property

        Private _ShowTagBar As Boolean
        Public Property ShowTagBar() As Boolean
            Get
                Return _ShowTagBar
            End Get
            Set(ByVal value As Boolean)
                _ShowTagBar = value
                OnPropertyChanged("ShowTagBar")
            End Set
        End Property

        Private _Topmost As Boolean
        Public Property Topmost() As Boolean
            Get
                Return _Topmost
            End Get
            Set(ByVal value As Boolean)
                _Topmost = value
                OnPropertyChanged("Topmost")
            End Set
        End Property

        Private _IsMute As Boolean
        Public Property IsMute() As Boolean
            Get
                Return _IsMute
            End Get
            Set(ByVal value As Boolean)
                _IsMute = value
                OnPropertyChanged("IsMute")
            End Set
        End Property

        Private _IsAlertOff As Boolean
        Public Property IsAlertOff() As Boolean
            Get
                Return _IsAlertOff
            End Get
            Set(ByVal value As Boolean)
                _IsAlertOff = value
                OnPropertyChanged("IsAlertOff")
            End Set
        End Property

    End Class

End Namespace
